<template>
	<view class="cart_wrap">
		<view class="cart_box">
			<view class="cart_number">99</view>
			<text class="tn-icon-cart cart" style="font-size: 50rpx; color:#fff"></text>
		</view>
	</view>
</template>

<script>
</script>

<style scoped lang="scss">
	.cart_wrap {
		position: absolute !important;
		left: 20rpx;
		bottom: 20rpx !important;

		.cart_box {
			position: relative;

			width: 100rpx;
			height: 100rpx;
			border-radius: 50%;
			background-color: #777;

			.cart_number {
				position: absolute;
				right: 0rpx;
				width: 40rpx;
				height: 40rpx;
				background-color: red;
				color: #fff;
				font-size: 26rpx;
				border-radius: 50%;
				text-align: center;
				line-height: 40rpx;
			}

			.cart {
				position: absolute;
				top: 50%;
				left: 50%;
				transform: translate(-50%, -50%) !important;
			}
		}

	}
</style>